package com.iLoo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
//@Accessors(chain=true)
@TableName("t_emp")
public class Emp implements Serializable {
    @TableId(type = IdType.AUTO)
    private String id;
    private String name;
    private String path;
    private Double salary;
    private Integer age;
}
